package JAVA300.第十一章多线程;

/**
 * lamda表达式测试理解--添加返回值 以及参数个数
 */
public class thread_10_lamdaTestThread {


    public static void main(String[] args) {

        new Thread(()->{
            System.out.println("this is thread1");
        }).start();
        //简化
        new Thread(()->System.out.println("this is thread2")).start();

    }
}




